<!DOCTYPE html>
<html lang="en">
<head>
		<meta charset="utf-8">
		<title>百度一下，你就知道</title>	
		
	</head>
<body>

	<div class="content">
		<input id="so" type="text">
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
			<li>4</li>
			<li>5</li>
		</ul>
	</div>

	<script src="../lib/jquery.min.js"></script>
	<script>
		var so = $('#so');

		so.on('keyup',function() {
			var $this = $(this),
			    txt = $this.val(),
			    url = 'https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?json=1&cb=cbFuncallback=?';
			   

			$.get(url,{wd : txt},function(response) {
				
				if (response.success) {
					console.log(response.s)	
				} else {
					
				}
			},'json')
		})
	</script>
	
</body>
</html>